.section .data
.section .text
.equ ARGS_COUNT,0
.equ APP_NAME,4
.equ ARGS_VALUE,8
.global _start
_start:
movl %esp,%ebp
movl ARGS_COUNT(%ebp),%eax
cmpl $0,%eax
jle no_argument
movl $4,%eax 
movl 8(%ebp),%ecx
movl $2,%edx
int $0x80
# movl (%ecx),%ebx
no_argument:
movl $1,%eax
int $0x80



